package com.wlcorp.forcazamis.business.sample;

import java.util.List;

import com.wlcorp.forcazamis.domain.sample.Sample;
import com.wlcorp.forcazamis.domain.sample.SampleImage;
import com.wlcorp.forcazamis.domain.sample.SubSample;
import com.wlcorp.forcazamis.exception.ServiceException;

public interface ISampleService {
	public List<Sample> getSampleList(final Sample sample) throws ServiceException;
	public Long getSampleCount(final Sample sample) throws ServiceException;
	public Sample getSampleById(Long sampleId) throws ServiceException;
	public void deleteSample(Sample sample) throws ServiceException;
	public void saveSample(Sample sample) throws ServiceException;
	public Long getSameTypeNewSerialCode(final Sample sample) throws ServiceException;
	public void saveSubSample(SubSample subSample) throws ServiceException;
	public void saveSampleImage(SampleImage sampleImage) throws ServiceException;
	public SubSample getSubSampleById(Long subSampleId) throws ServiceException;
	public void deleteSubSample(SubSample subSample) throws ServiceException;
	public void deleteSampleImage(Long sampleImageId) throws ServiceException;
	public List<SubSample> getSubSampleList(final SubSample subSample) throws ServiceException;
	public Long getSubSampleCount(final SubSample subSample) throws ServiceException;
//	public List getSubSampleAssignList(final SubSampleAssign subSampleAssign) throws ServiceException;
	public List<Sample> getSampleByCode(Sample sample) throws ServiceException;
}
